package com.synjones.zeuscloudapp.eureka;

import com.synjones.zeus.model.ExReqBean;
import com.synjones.zeus.model.ExRespBean;
import com.synjones.zeus.model.config.ConfigReqBean;
import com.synjones.zeus.model.config.ConfigRespBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import static com.synjones.zeus.model.ApiStr.GETCONFIG;

/**
 * @author yys
 * Description:
 * @date created in 17:21 2018-03-15
 * Modified by:
 */
@FeignClient("ZEUS-CLOUD-SERVER")
public interface ZeusConfigService {
  /**
    *  获取配置信息
    *  @param reqBean request参数封装
    *  @author yys
    *  Description: 获取配置信息
    *  @date 11:34 2018-07-04
    *  @return ExRespBean<ConfigRespBean>
    */
    @RequestMapping(value = GETCONFIG)
    ExRespBean<ConfigRespBean> getConfig(ExReqBean<ConfigReqBean> reqBean);
}
